<%@ page language="java" import="java.util.*" pageEncoding="ISO-8859-1"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    
    <title>My JSP 'index.jsp' starting page</title>
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->
	
	<script type="text/javascript">
var DS_x,DS_y;

function dateSelector() { 
	var myDate=new Date();
	this.year=myDate.getFullYear(); 
	this.month=myDate.getMonth()+1; //定义month属性，月份，默认值为当前系统月份。
	this.date=myDate.getDate(); //定义date属性，日，默认值为当前系统的日。
	this.inputName=''; //定义inputName属性，即输入框的name，默认值为空。注意：在同一页中出现多个日期输入框，不能有重复的name！
	this.display=display; //定义display方法，用来显示日期输入框。
}
</script>
  </head>
  
  <body>
    This is my JSP page. <br>
  </body>
</html>
